package cn.gson.crm.model.dao;

import java.util.List;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;

import cn.gson.crm.model.pojo.ServiceWay;

public interface LLJ_ServiceWayDao extends CrudRepository<ServiceWay,Long>{
   
	@Query("select new cn.gson.crm.model.pojo.ServiceWay(s.serviceWayId,s.serviceWayContain) from ServiceWay s order by id")
	public List<ServiceWay> searchAllWay();     
}
